import { HTTP_FREIGHT_URL } from '@/config/app';

export function getCityByKeyword({
	keyword,
	city_id
}) {
	return new Promise((resolve, reject) => {
		uni.request({
			url: `${HTTP_FREIGHT_URL}/basic/search_city`,
			method:"post",
			data: {
				keyword,
				city_id
			},
			success: e => {
				resolve(e)
			}
		})
	})
}